<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s"%>
<html lang="zh_CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=1024, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../CSS/top.css">
    <link rel="stylesheet" href="../CSS/forget_pas.css">
    <script type="text/javascript" src="../JS/top.js"></script>
    <script type="text/javascript" src="../JS/forget_pas.js"></script>
    <title>忘记密码</title>
</head>

<body style="background-color:rgb(238, 237, 237)">
    <div id="top">
        <div class="nav_top">
        </div>
        <div class="navigation">
            <div class="nav" id="nav">
                <ul>
                    <li>
                        <a href="../index.jsp">首页</a>
                    </li>
                    <li>
                        <a href="./man_clothes.jsp" title="男装">男装</a>
                    </li>
                    <li>
                        <a href="./woman_clothes.jsp" title="女装">女装</a>
                    </li>
                    <li id="personal">
                        <a href="./personal.jsp" title="个人中心">个人中心</a>
                    </li>
                    <li id="login">
                        <a href="./login.jsp" title="登录/注册 ">登录/注册</a>
                        <dl class="nav_two">
                            <dd>
                                <a href="./login.jsp" title="登录">登录</a>
                            </dd>
                            <dd>
                                <a href="./register.jsp" title="注册">注册</a>
                            </dd>
                            <dd>
                                <a href="./forget_pas.jsp" title="忘记密码">忘记密码</a>
                            </dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="center_top">
        <div class="center">
            <div class="title">
                <span>找回密码->密保问题</span>
                <hr>
            </div>
            <div class="center_text">
            <s:iterator value="#session.user" id="user">
                <form action="forAnswer" method="post">
                    <div class="date_r">
                        <div class="r_text">
                            <span style="float:right;">密保问题1:</span>
                        </div>
                        <div class="answer">
                        <s:property value="#user.question1"/>
                        </div>
                    </div>
                    <div class="date_r">
                        <div class="r_text">
                            <span style="float:right;">我的答案:</span>
                        </div>
                        <div class="r_input">
                            <input type="text" id="answer1" name="answer1">
                        </div>
                        <div class="info" id="answer1_info">
                            <span>答案不能为空</span>
                        </div>
                    </div>
                    <div class="date_r">
                        <div class="r_text">
                            <span style="float:right;">密保问题2:</span>
                        </div>
                        <div class="answer">
                            <s:property value="#user.question2"/>
                        </div>
                    </div>
                    <div class="date_r">
                        <div class="r_text">
                            <span style="float:right;">我的答案:</span>
                        </div>
                        <div class="r_input">
                            <input type="text" id="answer2" name="answer2">
                        </div>
                        <div class="info" id="answer2_info">
                            <span>答案不能为空</span>
                        </div>
                    </div>
                    <div class="date_r">
                        <div class="r_text">
                            <span style="float:right;">验证码:</span>
                        </div>
                        <div class="code">
                            <input type="text">
                        </div>
                    </div>
                    <div class="submit">
                        <input type="submit" value="下一步" id="submit">
                    </div>
                     <h5 style="color:red;padding-left:400px;list-style:none;font-size:18px;"> <s:actionerror/> </h5>
                </form>
            </s:iterator>
            </div>
        </div>
    </div>
</body>

</html>